package com.dstz.demo.core.manager.impl;

import com.dstz.base.manager.impl.BaseManager;
import com.dstz.demo.core.dao.TuserDao;
import com.dstz.demo.core.manager.TuserManager;
import com.dstz.demo.core.model.Tuser;


import org.springframework.stereotype.Service;

import javax.annotation.Resource;
/**
 * 茶城通用户表 Manager处理实现类
 * @author aschs
 * @email aschs@qq.com
 * @time 2020-02-20 19:57:09
 */
@Service("TuserManager")
public class TuserManagerImpl extends BaseManager<String, Tuser> implements TuserManager {

	@Resource
	private TuserDao tuserDao;

	@Override
	public Tuser findById(Integer id) {
		Tuser tuser = tuserDao.findById(id);
		return tuser;
	}
}
